/*
 * SituationProjection.h
 *
 *  Created on: 2011-7-30
 *      Author: Administrator
 */

#ifndef SITUATIONPROJECTION_H_
#define SITUATIONPROJECTION_H_
#include "Position.h"
class SituationProjection {
public:
	bool IsEmpty(Position& pos);
	bool IsRedChess(Position& pos);
	bool IsBlackChess(Position& pos);
	SituationProjection();
	void SetPosition(int x,int y,int value);
	int GetPosition(Position &pos);
	virtual ~SituationProjection();
	int GetChessCountInLine(Position &from,Position &to);
private:
	int chessProjectionArray[9][10];
};

#endif /* SITUATIONPROJECTION_H_ */
